include!(env!("BINDINGS"));

use crate::a::b::the_test::{get, set};

struct Component;

export!(Component);

impl Guest for Component {
    async fn run() {
        let (tx, rx) = wit_future::new(|| ());

        set(rx);
        let rx = get();
        drop(rx);
        drop(tx);

        let (_tx, rx) = wit_future::new::<()>(|| ());
        drop(rx);
    }
}
